#-------------------------------------------------
#
# Project created by QtCreator 2022-06-02T13:58:27
#
#-------------------------------------------------

QMAKE_CXXFLAGS += -std=c++11

QT += multimedia

QT       += core gui network
QT += core

RC_FILE += icon_config.rc

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gateway_app
TEMPLATE = app


SOURCES += main.cpp\
        homepage.cpp \
    m0wig.cpp \
    modbuswig.cpp \
    mbappwig.cpp \
    setwig.cpp \
    globalval.cpp \
    mqtthandler.cpp \
    history.cpp

HEADERS  += homepage.h \
    m0wig.h \
    modbuswig.h \
    mbappwig.h \
    setwig.h \
    globalval.h \
    mqtthandler.h \
    history.h

FORMS    += homepage.ui \
    m0wig.ui \
    modbuswig.ui \
    mbappwig.ui \
    setwig.ui \
    history.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd

INCLUDEPATH += $$PWD/.
INCLUDEPATH += $$PWD/mqtt
DEPENDPATH += $$PWD/.

RESOURCES += \
    res.qrc

DISTFILES += \
    icon_config.rc
